package com.mmall.pojo;

import java.math.BigDecimal;
import java.util.Date;

public class Order {
    private Integer id;

    private Integer goodsId;

    private String orderNo;

    private Integer userId;

    private String address;

    private Integer payStatus;

    private BigDecimal payment;

    private Integer paymentType;

    private Integer status;

    private Date closeTime;

    private Date paymentTime;

    private Date createTime;

    private Date updateTime;

    private String postcodes;

    private String receivePerson;

    private String receivePhone;

    private String createTimeText;

    private String goodsDes;
    private String goodsPictures;

    public String getGoodsDes() {
        return goodsDes;
    }

    public void setGoodsDes(String goodsDes) {
        this.goodsDes = goodsDes;
    }

    public String getGoodsPictures() {
        return goodsPictures;
    }

    public void setGoodsPictures(String goodsPictures) {
        this.goodsPictures = goodsPictures;
    }

    public String getCreateTimeText() {
        return createTimeText;
    }

    public void setCreateTimeText(String createTimeText) {
        this.createTimeText = createTimeText;
    }

    public Order(Integer id, Integer goodsId, String orderNo, Integer userId, String address, Integer payStatus, BigDecimal payment, Integer paymentType, Integer status, Date closeTime, Date paymentTime, Date createTime, Date updateTime, String postcodes, String receivePerson, String receivePhone) {
        this.id = id;
        this.goodsId = goodsId;
        this.orderNo = orderNo;
        this.userId = userId;
        this.address = address;
        this.payStatus = payStatus;
        this.payment = payment;
        this.paymentType = paymentType;
        this.status = status;
        this.closeTime = closeTime;
        this.paymentTime = paymentTime;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.postcodes = postcodes;
        this.receivePerson = receivePerson;
        this.receivePhone = receivePhone;
    }

    public Order() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public BigDecimal getPayment() {
        return payment;
    }

    public void setPayment(BigDecimal payment) {
        this.payment = payment;
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getPostcodes() {
        return postcodes;
    }

    public void setPostcodes(String postcodes) {
        this.postcodes = postcodes == null ? null : postcodes.trim();
    }

    public String getReceivePerson() {
        return receivePerson;
    }

    public void setReceivePerson(String receivePerson) {
        this.receivePerson = receivePerson == null ? null : receivePerson.trim();
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone == null ? null : receivePhone.trim();
    }
}